Smush\Core\Parser\Element A

Total Complexity 52
Dependencies 4
Dependents 5
Total lines 323
Lines of code 206
Logical lines of code 90
Comment lines 55
Methods 28
Properties 10

Methods 28

Method Rating Maintainability Complexity Lines of code
has_updates()
S
64 5 10
replace_attributes()
S
58 3 17
get_image_attribute_names()
S
52 2 29
update_css_properties()
S
63 3 12
update_attributes()
S
63 3 12
get_attribute()
S
67 3 8
prepare_image_attributes()
S
65 3 10
get_background_css_property()
S
67 3 8
append_attribute_value()
S
66 2 8
get_attribute_value()
S
71 2 6
get_image_attributes()
S
72 2 6
add_new_attributes()
S
66 2 8
add_or_update_attribute()
S
67 2 8
change_attribute_quote_character()
S
69 2 7
find_quote_character()
S
77 2 3
get_updated_markup()
S
63 1 11
__construct()
S
69 1 7
add_css_property()
S
76 1 4
add_postfix()
S
80 1 3
set_postfix()
S
81 1 3
get_markup()
S
82 1 3
get_css_properties()
S
82 1 3
set_has_updates()
S
81 1 3
replace_attribute()
S
76 1 4
add_attribute()
S
75 1 4
get_attributes()
S
82 1 3
get_tag()
S
82 1 3
is_image_element()
S
80 1 3